<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
 <head>
  <meta http-equiv="content-type" content="text/html; charset=UTF-8">
  <title>Returns the status error message, system and/or zip messages</title>
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-base.css" />
<link media="all" rel="stylesheet" type="text/css" href="styles/03e73060321a0a848018724a6c83de7f-theme-medium.css" />

 </head>
 <body class="docs"><div class="navbar navbar-fixed-top">
  <div class="navbar-inner clearfix">
    <ul class="nav" style="width: 100%">
      <li style="float: left;"><a href="ziparchive.getnameindex.html">« ZipArchive::getNameIndex</a></li>
      <li style="float: right;"><a href="ziparchive.getstream.html">ZipArchive::getStream »</a></li>
    </ul>
  </div>
</div>
<div id="breadcrumbs" class="clearfix">
  <ul class="breadcrumbs-container">
    <li><a href="index.html">PHP Manual</a></li>
    <li><a href="class.ziparchive.html">ZipArchive</a></li>
    <li>Returns the status error message, system and/or zip messages</li>
  </ul>
</div>
<div id="layout">
  <div id="layout-content"><div id="ziparchive.getstatusstring" class="refentry">
 <div class="refnamediv">
  <h1 class="refname">ZipArchive::getStatusString</h1>
  <p class="verinfo">(PHP 5 &gt;= 5.2.7, PHP 7, PHP 8)</p><p class="refpurpose"><span class="refname">ZipArchive::getStatusString</span> &mdash; <span class="dc-title">Returns the status error message, system and/or zip messages</span></p>

 </div>
 <div class="refsect1 description" id="refsect1-ziparchive.getstatusstring-description">
  <h3 class="title">说明</h3>
  <div class="methodsynopsis dc-description">
   <span class="modifier">public</span> <span class="methodname"><strong>ZipArchive::getStatusString</strong></span>(): <span class="type">string</span></div>

  <p class="para rdfs-comment">
   Returns the status error message, system and/or zip messages.
  </p>
 </div>


 <div class="refsect1 parameters" id="refsect1-ziparchive.getstatusstring-parameters">
  <h3 class="title">参数</h3>
  <p class="para">此函数没有参数。</p>
 </div>


 <div class="refsect1 returnvalues" id="refsect1-ziparchive.getstatusstring-returnvalues">
  <h3 class="title">返回值</h3>
  <p class="para">
   Returns a <span class="type">string</span> with the status message.
  </p>
 </div>


 <div class="refsect1 changelog" id="refsect1-ziparchive.getstatusstring-changelog">
  <h3 class="title">更新日志</h3>
  <p class="para">
   <table class="doctable informaltable">
    
     <thead>
      <tr>
       <th>版本</th>
       <th>说明</th>
      </tr>

     </thead>

     <tbody class="tbody">
      <tr>
       <td>8.0.0 / 1.18.0</td>
       <td>
        This method can be called on closed archive.
       </td>
      </tr>

      <tr>
       <td>8.0.0 / 1.18.0</td>
       <td>
        This method no longer returns <strong><code>false</code></strong> on failure.
       </td>
      </tr>

     </tbody>
    
   </table>

  </p>
 </div>


</div></div></div></body></html>